//package com.woniu.controller;
//
//import com.alibaba.dashscope.exception.ApiException;
//import com.alibaba.dashscope.exception.NoApiKeyException;
//import com.alibaba.dashscope.exception.UploadFileException;
//import com.woniu.service.ALYServie;
//import org.apache.ibatis.annotations.Param;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import static com.woniu.utils.ALiYunUtils.simpleMultiModalConversationCall;
//@RestController
//@RequestMapping("api/aly")
//public class ALYController {
//    @Autowired
//    private ALYServie alyServie;
//    //    public static void AudioCoverText(){
////        try {
////            simpleMultiModalConversationCall();
////        } catch (ApiException | NoApiKeyException | UploadFileException e) {
////            System.out.println(e.getMessage());
////        }
////        System.exit(0);
////    }
//    //通过视频id提取对应的文本内容
//    @GetMapping("/VideoCoverText")
//    public String VideoCoverText(@Param("id") Integer id) {
//        return alyServie.VideoCoverText(id);
//    }
//}
